package edu.zut.cs.software.perfect.process.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericTreeManager;
import edu.zut.cs.software.perfect.process.domain.CourseProcess;
import edu.zut.cs.software.perfect.process.domain.ProcessRegistrar;

/**
 * @ClassName ProcessRegistrarManager
 * @Description TODO
 * @Author niu-xi
 * @Date 2020年5月29日 下午9:15:22
 * @Version 1.0
 */
public interface ProcessRegistrarManager extends GenericTreeManager<ProcessRegistrar, Long> {
	
	List<ProcessRegistrar> findAll();
	
	Optional<ProcessRegistrar> findByCourseId(Long courseId);
	
	Boolean deleteById(Long courseId);

}
